//
//  FuJiSmallCollectionViewCell.m
//  GOGOTravel
//
//  Created by dllo on 16/3/3.
//  Copyright © 2016年 果果. All rights reserved.
//

#import "FuJiSmallCollectionViewCell.h"

@implementation FuJiSmallCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.label = [[BaseLabel alloc] init];
        [self.contentView addSubview:_label];
        [_label release];
    }
    return self;
}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes{
    
    _label.frame = CGRectMake(0, 0, layoutAttributes.frame.size.width ,layoutAttributes.frame.size.height);
    _label.font = [UIFont boldSystemFontOfSize:16];
    _label.textAlignment = NSTextAlignmentCenter;
    _label.backgroundColor = [UIColor clearColor];
}


- (void)dealloc{
    [_label release];
    [super dealloc];
}

@end
